<%@page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="java.sql.ResultSet" %>
<%@page import="com.jm.web.data.*"%>
<%@ page import="com.jm.web.*" %>
<%@page import="com.jm.web.action.BaseAction"%>
<%@ page import="com.jm.utils.*" %>
<%@ page import="com.jm.utils.rule.*" %>
<%@ page import="com.jm.web.form.Option" %>
<%@ page import="com.jm.web.data.toolbar.MenuOption" %>
<%@ page import="java.io.File" %>
<%@ page import="net.sf.jasperreports.engine.JasperReport" %>
<%@ page import="net.sf.jasperreports.engine.export.JRHtmlExporter" %>
<%@ page import="net.sf.jasperreports.engine.JasperPrint" %>
<%@ page import="net.sf.jasperreports.engine.JasperFillManager" %>
<%@ page import="net.sf.jasperreports.engine.util.JRLoader" %>
<%@ page import="net.sf.jasperreports.engine.JRExporterParameter" %>
<%PrintPage page1=(PrintPage)DefaultPageProxy.GetPage(pageContext,"com.jm.web.PrintPage",true);%>
<%Utils utils = null;try{utils = page1.getUtils();if(page1.IsBackEndMode()){page1.LoadBackEnd();if(page1.IsStop()) return;}%>
<%
	BaseAction  action = new PageAction();
	action.init(page1);
	action.Process();
	if(page1.isExportFile()){out.clear();out=pageContext.pushBody();}
}catch(Exception ex){
	if(page1.IsBackEndMode() && utils != null)
		utils.recordException(ex);
	else
		page1.setException(ex);
	throw ex;
}finally{
	if(utils != null)
		utils.cleanUp();
}
%>